ServerSocket.AddSocket Event

The ServerSocket is requesting that you add a socket to its internal pool. It is called when the ServerSocket first begins listening.

Syntax

result = AddSocket( )


Return Value

Result

TCPSocket


Notes

This socket must stay resident (it cannot be a local variable) and must be non- Nil. It returns a TCPSocket. Since UDP is a connectionless protocol, it does not make sense for a ServerSocket to deal with UDPSockets.